from rest_framework.routers import SimpleRouter
from misc import views


router = SimpleRouter(trailing_slash=False)

router.register(r'questionanswer', views.QuestionAnswerViewSet)
router.register(r'rsa', views.RSAPublicKeyViewSet)
router.register(r'text', views.TextViewSet)
router.register(r'upgradepackage', views.UpgradePackageDeliveryViewSet)
router.register(r'upgradepackageresult', views.UpgradePackageResultViewSet)

urlpatterns = router.urls
